var match={
			'<p':"<Text",
			'p>':"Text>",
			'src="//':"source\=\{\{http://",
			'src="':"source\=\{\{",
			'\.jpg"':"\}\}",
			'\.png"':"\}\}",
			'<img':"<Image",
			'img>':"Image>",
			'&nbsp;':' ',
			'<br/>':'<View></View>',
			'<div':'<View',
			'div>':'div>'
		};
//var stringx = '<img src="http://i1.umei.cc/uploads/tu/201610/250/slt11.png"><p>你好呀</p><br/>';
var tmp = "";

exports.htmlParse = function(stringx) {
		tmp=stringx.replace(/(.*)</g,function($1){
			console.log($1)
			return "<Text>"+$1+"</Text><";
		})
		for(var m in match){
			console.log(m,match[m])
			if(!tmp){
				tmp=stringx.replace(m,match[m]);
			}
			else{
				tmp=tmp.replace(m,match[m]);
			}
		}
		tmp=tmp.replace(/style=".*"/,"");
    return tmp;
}


		
	